package ezonsport.android.ui.stepSystem.dataView;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * 界面显示model
 * @author 桑成龙
 * 
 */
public class StepDataViewModel {

	/**
	 * 当前model内数据的开始时间11111
	 */
	private static Date fromDate=new Date(1991,9,1);
	/**
	 * 当前model内数据的结束时间
	 */
	private static Date toDate=new Date(1991,9,1);
	
	/**
	 * 计步数据：Map<Date,int>
	 */
	private  Map<Date,Integer> stepDataMap=null;
	/**
	 * 每天计划目标:Map<Date,Integer>
	 */
	private  Map<Date,Integer> stepGoalMap=null;
	public StepDataViewModel(){
		stepDataMap=new HashMap<Date, Integer>();
		stepGoalMap=new HashMap<Date, Integer>();
	}
	public static Date getFromDate() {
		return fromDate;
	}
	public static void setFromDate(Date fromDate) {
		StepDataViewModel.fromDate = fromDate;
	}
	public static Date getToDate() {
		return toDate;
	}
	public static void setToDate(Date toDate) {
		StepDataViewModel.toDate = toDate;
	}
	public Map<Date, Integer> getStepDataMap() {
		return stepDataMap;
	}
	public  void setStepDataMap(Map<Date, Integer> stepDataMap) {
		this.stepDataMap.putAll(stepDataMap);
	}
	public  Map<Date, Integer> getStepGoalMap() {
		return stepGoalMap;
	}
	public  void setStepGoalMap(Map<Date, Integer> stepGoalMap) {
		this.stepGoalMap = stepGoalMap;
	}


	
}
